﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GFMS.MODEL
{
    [Serializable]
    public class M_ICM_BidOfferCollateral
    {
        private int ICM_BID_OFF_COL_SEQ;
        private Nullable<int> ICM_COL_TYPE_SEQ;
        private string ICM_BID_OFF_COL_REF_NO;
        private Nullable<double> ICM_BID_OFF_COL_AMOUNT;
        private string ICM_BID_OFF_COL_DESCR;
        private Nullable<int> ICM_BID_OFF_SEQ;
        private string RECEIPT_NO;

        private Nullable<int> ICM_BID_SEQ;
        private string ICM_BID_NAME;
        private int? ICM_CON_SEQ;
        private string ICM_CON_NAME;

        private Nullable<int> CREATED_BY;
        private Nullable<DateTime> CREATED_WHEN;
        private Nullable<int> UPDATED_BY;
        private Nullable<DateTime> UPDATED_WHEN;

        public M_ICM_BidOfferCollateral()
        {

        }

        public M_ICM_BidOfferCollateral(
            int ICM_BID_OFF_COL_SEQ
            , Nullable<int> ICM_COL_TYPE_SEQ
            , string ICM_BID_OFF_COL_REF_NO
            , Nullable<double> ICM_BID_OFF_COL_AMOUNT
            , string ICM_BID_OFF_COL_DESCR
            , Nullable<int> ICM_BID_OFF_SEQ
            , string RECEIPT_NO

            , int? ICM_BID_SEQ
            , string ICM_BID_NAME
            , int? ICM_CON_SEQ
            , string ICM_CON_NAME

            , Nullable<int> CREATED_BY
            , Nullable<DateTime> CREATED_WHEN
            , Nullable<int> UPDATED_BY
            , Nullable<DateTime> UPDATED_WHEN)
        {
            this.ICM_BID_OFF_COL_SEQ = ICM_BID_OFF_COL_SEQ;
            this.ICM_COL_TYPE_SEQ = ICM_COL_TYPE_SEQ;
            this.ICM_BID_OFF_COL_REF_NO = ICM_BID_OFF_COL_REF_NO;
            this.ICM_BID_OFF_COL_AMOUNT = ICM_BID_OFF_COL_AMOUNT;
            this.ICM_BID_OFF_COL_DESCR = ICM_BID_OFF_COL_DESCR;
            this.ICM_BID_OFF_SEQ = ICM_BID_OFF_SEQ;
            this.RECEIPT_NO = RECEIPT_NO;

            this.ICM_BID_SEQ = ICM_BID_SEQ;
            this.ICM_BID_NAME = ICM_BID_NAME;

            this.CREATED_BY = CREATED_BY;
            this.CREATED_WHEN = CREATED_WHEN;
            this.UPDATED_BY = UPDATED_BY;
            this.UPDATED_WHEN = UPDATED_WHEN;
        }

        public int icm_bid_off_col_seq
        {
            set { ICM_BID_OFF_COL_SEQ = value; }
            get { return ICM_BID_OFF_COL_SEQ; }
        }

        public Nullable<int> icm_col_type_seq
        {
            set { ICM_COL_TYPE_SEQ = value; }
            get { return ICM_COL_TYPE_SEQ; }
        }

        public string icm_bid_off_col_ref_no
        {
            set { ICM_BID_OFF_COL_REF_NO = value; }
            get { return ICM_BID_OFF_COL_REF_NO; }
        }

        public Nullable<double> icm_bid_off_col_amount
        {
            set { ICM_BID_OFF_COL_AMOUNT = value; }
            get { return ICM_BID_OFF_COL_AMOUNT; }
        }

        public string icm_bid_off_col_descr
        {
            set { ICM_BID_OFF_COL_DESCR = value; }
            get { return ICM_BID_OFF_COL_DESCR; }
        }

        public Nullable<int> icm_bid_off_seq
        {
            set { ICM_BID_OFF_SEQ = value; }
            get { return ICM_BID_OFF_SEQ; }
        }

        public string receipt_no
        {
            set { RECEIPT_NO = value; }
            get { return RECEIPT_NO; }
        }

        public int? icm_bid_seq
        {
            set { ICM_BID_SEQ = value; }
            get { return ICM_BID_SEQ; }
        }

        public string icm_bid_name
        {
            set { ICM_BID_NAME = value; }
            get { return ICM_BID_NAME; }
        }

        public int? icm_con_seq
        {
            set { ICM_CON_SEQ = value; }
            get { return ICM_CON_SEQ; }
        }

        public string icm_con_name
        {
            set { ICM_CON_NAME = value; }
            get { return ICM_CON_NAME; }
        }

        public Nullable<int> created_by
        {
            set { CREATED_BY = value; }
            get { return CREATED_BY; }
        }

        public Nullable<DateTime> created_when
        {
            set { CREATED_WHEN = value; }
            get { return CREATED_WHEN; }
        }

        public Nullable<int> updated_by
        {
            set { UPDATED_BY = value; }
            get { return UPDATED_BY; }
        }

        public Nullable<DateTime> updated_when
        {
            set { UPDATED_WHEN = value; }
            get { return UPDATED_WHEN; }
        }
    }
}
